package com.ztgf.shopping.models.service.epg;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ztgf.shopping.models.bo.epg.EpgShopBannerBO;
import com.ztgf.shopping.models.bo.epg.EpgShopBannerSaveBO;
import com.ztgf.shopping.models.dto.epg.EpgShopBannerDTO;

import java.util.List;

/**
 * 店铺页banner服务
 *
 * @author YUE
 * @Date 2020-05-28 18:38:51
 */
public interface IEpgShopBannerService extends IService<EpgShopBannerDTO> {
    boolean add(EpgShopBannerSaveBO saveBO);

    Page<EpgShopBannerDTO> getBySelectShopBannerInfoPage(EpgShopBannerBO epgShopBannerBO);

    List<EpgShopBannerDTO> getBySelectShopBannerInfoNoPage(EpgShopBannerBO epgShopBannerBO);

    boolean deleteByModuleId(Long moduleId);

    List<EpgShopBannerDTO> getShopAdvertBannerListByShopId(Long shopId);
}
